<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>base</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/memberInfo.js"></script>
<script type="text/javascript">
	function init() {
		var name = new Array("user_sex","user_height","user_edu","user_income","user_marriage",
				"user_housing","user_vehicle","user_kids","user_type","veri_email","veri_mobile","user_source",
				"user_state");
		var value = new Array("{$user['user_sex']}","{$user['user_height']}","{$user['user_edu']}",
				"{$user['user_income']}","{$user['user_marriage']}","{$user['user_housing']}",
				"{$user['user_vehicle']}","{$user['user_kids']}","{$user['user_type']}",
				"{$user['veri_email']}","{$user['veri_mobile']}",
				"{$user['sources']}","{$user['veri_user']}");
		for(var i = 0 ; i <name.length ; i++) {
			select_init(name[i],value[i]);
		}
		initbirthday("{$user['user_birthday']}");
		initprovince("user_province","user_city","{$user['user_province']}","{$user['user_city']}");
	}
</script>
</head>
<body onload="init()">
<form action="__URL__/basemodify" method="post" onsubmit="return validate();">
<div id="member_info_main">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr>
		<td width="17%" height="25" id="member_info_base_td">注册编号：</td>
		<td width="33%">{$user["user_id"]}</td>
		<td width="17%" id="member_info_base_td">注册账号：</td>
		<td>{$user["user_name"]}</td>
	</tr>
	<tr>
		<td id="member_info_base_td">注册邮箱：</td>
		<td><input name="user_email" type="text" id="user_email"
			value="{$user['user_email']}"></td>
		<td id="member_info_base_td">注册手机：</td>
		<td><input name="user_mobile" type="text" id="user_mobile"
			value="{$user['user_mobile']}"></td>
	</tr>
	<tr>
		<td id="member_info_base_td">昵称：</td>
		<td><input name="user_nickname" type="text" id="user_nickname"
			value="{$user['user_nickname']}"></td>
		<td id="member_info_base_td">性别：</td>
		<td><select name='user_sex' id='user_sex'>
			<option value='男士'>男士</option>
			<option value='女士'>女士</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">出生日期：</td>
		<td><select name='user_birthday_y' id='user_birthday_y'>
			<option value=''>请选择</option>
			<volist name="yearlist" id="year">
			<option value='{$year.opt_value}'>{$year.opt_name}</option>
			</volist>
		</select> - <select name='user_birthday_m' id='user_birthday_m'>
			<option value=''>请选择</option>
			<volist name="monthlist" id="month">
			<option value='{$month.opt_value}'>{$month.opt_name}</option>
			</volist>
		</select> - <select name='user_birthday_d' id='user_birthday_d'>
			<option value=''>请选择</option>
			<volist name="daylist" id="day">
			<option value='{$day.opt_value}'>{$day.opt_name}</option>
			</volist>
		</select></td>
		<td id="member_info_base_td">身高：</td>
		<td><select name='user_height' id='user_height'>
			<option value=''>请选择</option>
			<volist name="heightlist" id="height">
			<option value='{$height.opt_value}'>{$height.opt_name}</option>
			</volist>
		</select>cm</td>
	</tr>
	<tr>
		<td id="member_info_base_td">所在地：</td>
		<td><select onchange="setcity('user_province','user_city','{$user['user_city']}');" name="user_province" id="user_province">
			<option value=''>--所在省份--</option>
			<volist name="provincelist" id="province">
			<option value='{$province.opt_value}'>{$province.opt_name}</option>
			</volist>
		</select> <select name="user_city" id="user_city">
			<option value=''>请选择</option>
		</select></td>
		<td id="member_info_base_td">学历：</td>
		<td><select name='user_edu' id='user_edu'>
			<option value=''>请选择</option>
			<option value='高中及以下'>高中及以下</option>
			<option value='中专'>中专</option>
			<option value='大专'>大专</option>
			<option value='大学本科'>大学本科</option>
			<option value='硕士'>硕士</option>
			<option value='博士'>博士</option>
			<option value='博士后'>博士后</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">婚姻状态：</td>
		<td><select name='user_marriage' id='user_marriage'>
			<option value=''>请选择</option>
			<option value='未婚'>未婚</option>
			<option value='短婚'>短婚</option>
			<option value='离异'>离异</option>
			<option value='丧偶'>丧偶</option>
		</select></td>
		<td id="member_info_base_td">月收入：</td>
		<td><select name='user_income' id='user_income'>
			<option value=''>请选择</option>
			<option value='2000元及以下'>2000元及以下</option>
			<option value='2001-5000元'>2001-5000元</option>
			<option value='5001-8000元'>5001-8000元</option>
			<option value='8001-10000元'>8001-10000元</option>
			<option value='10001-20000元'>10001-20000元</option>
			<option value='20001-50000元'>20001-50000元</option>
			<option value='50000元以上'>50000元以上</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">住房条件：</td>
		<td><select name='user_housing' id='user_housing'>
			<option value=''>请选择</option>
			<option value='没有婚房'>没有婚房</option>
			<option value='已购婚房'>已购婚房</option>
			<option value='有别墅'>有别墅</option>
			<option value='有复式房'>有复式房</option>
			<option value='有购房能力'>有购房能力</option>
			<option value='最好共同购房'>最好共同购房</option>
			<option value='与家人同住'>与家人同住</option>
			<option value='租房'>租房</option>
			<option value='单位宿舍'>单位宿舍</option>
			<option value='保密'>保密</option>
		</select></td>
		<td id="member_info_base_td">是否有车：</td>
		<td><select name='user_vehicle' id='user_vehicle'>
			<option value=''>请选择</option>
			<option value='有车'>有车</option>
			<option value='没有车'>没有车</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">有无孩子：</td>
		<td><select name='user_kids' id='user_kids'>
			<option value=''>请选择</option>
			<option value='没有'>没有</option>
			<option value='有孩子且住在一起'>有孩子且住在一起</option>
			<option value='有孩子且偶尔会一起住'>有孩子且偶尔会一起住</option>
			<option value='有孩子但不在身边'>有孩子但不在身边</option>
		</select></td>
		<td id="member_info_base_td">会员类型：</td>
		<td><select name='user_type' id='user_type'>
			<option value='0'>注册会员</option>
			<option value='1'>线下会员</option>
			<option value='2'>VIP会员</option>
			<option value='3'>贵宾会员</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">验证邮箱：</td>
		<td><select name="veri_email" id="veri_email">
			<option value="0">未验证</option>
			<option value="1">已验证</option>
			<option value="2">验证中</option>
		</select></td>
		<td id="member_info_base_td">验证手机：</td>
		<td><select name="veri_mobile" id="veri_mobile">
			<option value="0">未验证</option>
			<option value="1">已验证</option>
			<option value="2">验证中</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">信息来源：</td>
		<td><select name='user_source' id='user_source'>
			<option value=''>请选择</option>
			<option value='百度'>百度</option>
			<option value='Google'>Google</option>
			<option value='报纸'>报纸</option>
			<option value='电视'>电视</option>
			<option value='百度贴吧'>百度贴吧</option>
			<option value='搜狗'>搜狗</option>
			<option value='网易'>网易</option>
			<option value='大众点评网'>大众点评网</option>
			<option value='新浪微博'>新浪微博</option>
			<option value='腾讯微博'>腾讯微博</option>
			<option value='亲戚朋友介绍'>亲戚朋友介绍</option>
			<option value='Q卡'>Q卡</option>
			<option value='论坛'>论坛</option>
			<option value='其他'>其他</option>
		</select></td>
		<td id="member_info_base_td">状态：</td>
		<td><select name="user_state" id="user_state">
			<option value="0">待审核</option>
			<option value="1">已通过</option>
			<option value="2">禁用</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">自我介绍：</td>
		<td><textarea name="user_intro" cols="30" rows="5" id="user_intro">{$user['user_intro']}</textarea></td>
		<td id="member_info_base_td">备注：</td>
		<td><textarea name="user_remark" cols="30" rows="5" id="user_remark">{$user['remark']}</textarea></td>
	</tr>
	<tr>
		<td id="member_info_base_td" height="25">注册时间：</td>
		<td>{$user['reg_time']}</td>
		<td id="member_info_base_td">最后登录：</td>
		<td>{$user['last_login_time']}</td>
	</tr>
</table>
<div id="member_info_submit">
	<span class="member_info_notice">注：请勿轻易修改用户注册邮箱和手机，以免导致用户无法登录网站。</span>
	<input type="image" name="submit" src="../Public/images/member/member_info_edit.gif"
		onMouseOver="this.src='../Public/images/member/member_info_edit_2.gif'" 
		onMouseOut="this.src='../Public/images/member/member_info_edit.gif'" alt="修改"> 
	<img src="../Public/images/main/modify_reset.gif" 
		onMouseOver="this.src='../Public/images/main/modify_reset_2.gif'" 
		onMouseOut="this.src='../Public/images/main/modify_reset.gif'" 
		onClick="location.reload()" style="cursor: pointer;" alt="重置">
</div>
</div>
</form>
</body>
</html>